
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/iconfont/iconfont.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import axios from 'axios'

import Scroller from '@/components/betterScroll/betterScroll.vue'
import ScrollerX from '@/components/betterScroll/betterScrollX.vue'
import Animation from '@/components/animation/animation.vue'
import Loading from '@/components/loading/loading.vue'

Vue.component('Scroller', Scroller)
Vue.component('ScrollerX', ScrollerX)
Vue.component('Animation', Animation)

Vue.component('Loading', Loading)
// 引入axios库
Vue.prototype.axios = axios
Vue.use(ElementUI)
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
